{template header}

<div class="container">

    <ol class="breadcrumb">
        <li><a href="{SITE_URL}">首页</a></li>
        <li><a href="{tsUrl('group')}">小组</a></li>
        <li><a href="{tsUrl('group','show',array('id'=>$strGroup['groupid']))}">{$strGroup[groupname]}</a></li>
        <li class="active">小组设置</li>
    </ol>

    <div class="panel panel-default">
        <div class="panel-body">

{template edit_xbar}


<div class="row">
<div class="col-md-8">


<form method="POST" action="{SITE_URL}index.php?app=group&ac=do&ts=photo" enctype="multipart/form-data" >


  <div class="form-group">
    <label class="col-sm-2 control-label">小组图标：</label>
    <div class="col-sm-10">
     <img alt="{$strGroup[groupname]}" title="{$strGroup[groupname]}" valign="middle" src="{if $strGroup[photo]}{php echo $strGroup[photo]}{else}{SITE_URL}public/images/group.jpg{/if}">
    </div>
  </div>
  
  <div class="form-group">
    <label class="col-sm-2 control-label pd10"></label>
    <div class="col-sm-10">
     <input type="file" name="picfile">
    </div>
  </div>
  
 <div class="form-group">
    <div class="col-sm-offset-2 col-sm-10 pd10">
	<input type="hidden" name="groupid" value="{$strGroup[groupid]}" />
      <button type="submit" class="btn btn-success">上传照片</button> <a class="btn btn-default" href="{tsUrl('group','show',array('id'=>$strGroup[groupid]))}">返回小组</a>
    </div>
  </div>


</form>


</div>
<div class="col-md-4"></div>
</div>




</div>
</div>



</div>
{template footer}